<?php

class VB_Controller_Blockaction extends General_Controller_Action {
	protected $_doPostDispatch = true;
	protected $_destination;
	protected $_page_id;
	protected $_layoutblock_id;

	public function init() {
		parent::init();
		$this->_destination = $this->_getParam('_destination');
		$this->_page_id = $this->_getParam('page_id');
		$this->_layoutblock_id = $this->_getParam('layoutblock_id');
	}
	
	public function postDispatch() {
		if ($this->_doPostDispatch) {
			echo $this->_destination;
			$this->render($this->getRequest()->getActionName(), $this->_destination);
		} else {
		}
	}
}